Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Nov 27, 2025

Closes #16018.

WIP

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI A-linter-plugins Area - Linter JS plugins labels Nov 27, 2025
Copy link
Member Author

overlookmotel commented Nov 27, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the C-enhancement Category - New feature or request label Nov 27, 2025
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 87f7b96 to 0ef5845 Compare November 27, 2025 16:10
@overlookmotel overlookmotel changed the base branch from main to graphite-base/16206 November 27, 2025 16:23
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 0ef5845 to 7d01b65 Compare November 27, 2025 16:23
@overlookmotel overlookmotel changed the base branch from graphite-base/16206 to 11-27-refactor_linter_plugins_add_registerplugin_function November 27, 2025 16:23
@overlookmotel overlookmotel self-assigned this Nov 27, 2025
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 7d01b65 to 46826a5 Compare November 27, 2025 16:54
@overlookmotel overlookmotel force-pushed the 11-27-refactor_linter_plugins_add_registerplugin_function branch from 1302f61 to afc5df6 Compare November 27, 2025 16:54
@overlookmotel overlookmotel force-pushed the 11-27-refactor_linter_plugins_add_registerplugin_function branch from afc5df6 to df85032 Compare November 27, 2025 16:55
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch 2 times, most recently from 6ce2fd7 to 1baf878 Compare November 27, 2025 17:41
@overlookmotel overlookmotel force-pushed the 11-27-refactor_linter_plugins_add_registerplugin_function branch from df85032 to 54de704 Compare November 27, 2025 17:41
@graphite-app graphite-app bot force-pushed the 11-27-refactor_linter_plugins_add_registerplugin_function branch 2 times, most recently from be3b9ee to 832983a Compare November 27, 2025 17:50
@graphite-app graphite-app bot force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 1baf878 to 04e394c Compare November 27, 2025 17:50
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch 3 times, most recently from b644de3 to 75f972d Compare November 27, 2025 20:47
@overlookmotel overlookmotel force-pushed the 11-27-refactor_linter_plugins_add_registerplugin_function branch from 832983a to b15c057 Compare November 27, 2025 20:47
@overlookmotel overlookmotel changed the base branch from 11-27-refactor_linter_plugins_add_registerplugin_function to graphite-base/16206 November 27, 2025 22:22
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 75f972d to f0fb3fb Compare November 27, 2025 22:22
@overlookmotel overlookmotel changed the base branch from graphite-base/16206 to 11-27-feat_linter_plugins_implement_options_merging November 27, 2025 22:23
graphite-app bot pushed a commit that referenced this pull request Nov 27, 2025
Pure refactor. Move a few lines of code into `loadPlugin`, to leave a sync function `registerPlugin` which contains the logic for registering a plugin.

Required for #16206, which will call this method directly, skipping `import`-ing the plugin from a module.
@graphite-app graphite-app bot changed the base branch from 11-27-feat_linter_plugins_implement_options_merging to graphite-base/16206 November 27, 2025 22:33
graphite-app bot pushed a commit that referenced this pull request Nov 27, 2025
Implement function for merging rule options from config with the rule's default options.

This function is not currently used, as we don't have a way to get options from config over from Rust to JS yet, but I've implemented it now, as it's also needed for the rule tester (#16206).
@graphite-app graphite-app bot force-pushed the graphite-base/16206 branch from d89782f to 8881d7f Compare November 27, 2025 22:39
@graphite-app graphite-app bot force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from f0fb3fb to 350bad0 Compare November 27, 2025 22:39
@graphite-app graphite-app bot changed the base branch from graphite-base/16206 to main November 27, 2025 22:39
@graphite-app graphite-app bot force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 350bad0 to 37fd717 Compare November 27, 2025 22:39
@overlookmotel overlookmotel changed the base branch from main to graphite-base/16206 November 27, 2025 22:49
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 37fd717 to b0622b5 Compare November 27, 2025 22:49
@overlookmotel overlookmotel changed the base branch from graphite-base/16206 to 11-27-fix_linter_plugins_deep_freeze_options November 27, 2025 22:49
@graphite-app graphite-app bot changed the base branch from 11-27-fix_linter_plugins_deep_freeze_options to main November 27, 2025 23:03
@graphite-app graphite-app bot changed the base branch from main to graphite-base/16206 November 27, 2025 23:04
@graphite-app graphite-app bot force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from b0622b5 to 4ef629f Compare November 27, 2025 23:11
@graphite-app graphite-app bot changed the base branch from graphite-base/16206 to main November 27, 2025 23:11
@graphite-app graphite-app bot force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 4ef629f to 0befe20 Compare November 27, 2025 23:11
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch 2 times, most recently from e94dc50 to a3dfc5b Compare November 28, 2025 09:45
@overlookmotel overlookmotel changed the base branch from main to graphite-base/16206 November 28, 2025 11:57
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from a3dfc5b to 550e974 Compare November 28, 2025 11:57
@overlookmotel overlookmotel changed the base branch from graphite-base/16206 to 11-28-refactor_linter_plugins_add_parse_function November 28, 2025 11:57
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 550e974 to 81260a5 Compare November 28, 2025 14:01
@overlookmotel overlookmotel force-pushed the 11-28-refactor_linter_plugins_add_parse_function branch from 8df0e41 to 6f782ba Compare November 28, 2025 14:01
@overlookmotel overlookmotel force-pushed the 11-26-feat_linter_plugins_introduce_ruletester_ branch from 81260a5 to 0660dff Compare November 28, 2025 15:43
@overlookmotel overlookmotel force-pushed the 11-28-refactor_linter_plugins_add_parse_function branch from 6f782ba to b184e4f Compare November 28, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter A-linter-plugins Area - Linter JS plugins C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linter plugins: Rule tester

2 participants